<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录</title>
<link href="<%=request.getContextPath()%>/css/首页.css" rel="stylesheet" type="text/css" />
</head>

<body>
   <div class="text">
  </div>
  
  <div class="txt">
  <br /> <br /> <font color="#FF0000">
  <h1>
 欢迎登录&nbsp;&nbsp;&nbsp;&nbsp;铿锵博客</h1>
  </font><br /> 
  <form action="<%=request.getContextPath()%>/CheckLogin" method="post">
  
 
  <!-- 用于显示提示信息的层 -->
					<div id="msgs"></div>
					<%if( request.getAttribute("messages") != null) { %>
						<div id='messages' class="alert alert-error"><%=request.getAttribute("messages")%></div>
					<% } %>

  
  <label for="uname">用户名:</label>
<input id="txtUserName" class="tet" type="text" style="width:170px;"  name="uname"><br /><br />
  <label for="passsword">密 &nbsp;&nbsp;码:</label>
<input id="txtUserPassWord" class="password" type="password" style="width:170px;"  name="password"><br /><br /> 
  <span>
  <input id="btnLogin" class="btYellow" type="submit" onclick="checkLogin();" value="登录" name="btnLogin" style="width:60px; height:30px;" >
    <input id="btnLogin" class="btYellow" type="submit" onclick="checkLogin();" value="注册" name="btnLogin" style="width:60px; height:30px;" />
    </span>
  </form>
  <br /> <br /> <br />
  </div>
  
  <div class="text">
  </div>

</body>
</html>
